Doofinder\WP\Api\Test\ClientTest S

Total Complexity 33
Dependencies 1
Dependents 0
Total lines 413
Lines of code 328
Logical lines of code 172
Comment lines 34
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
testHasNextAndPrev()
S
53 5 24
testAuthHeadersAreSent()
S
63 2 11
testToQueryStringWithCustomPrefix()
S
56 1 18
testFromQueryString()
S
56 1 18
testFromQueryStringWithCustomPrefix()
S
55 1 18
testNextPage()
S
56 1 17
testPrevPage()
S
56 1 17
testConstructorFromQueryStringWithCustomPrefix()
S
56 1 17
setUp()
S
58 1 15
testRequeryWhenFilterAndNoQueryName()
S
58 1 15
testToQueryString()
S
58 1 15
testSanitizeEmptyValues()
S
58 1 14
testFilteredQuery()
S
60 1 13
testBasicAndMatchAllQuery()
S
62 1 12
testSetFilter()
S
61 1 12
testGetOptions()
S
68 1 7
testAnyOptionGoesToURL()
S
67 1 7
testPageParameter()
S
67 1 7
testUpdateRangeFilterKeys()
S
63 1 9
testGetFilter()
S
64 1 9
testGetFilters()
S
65 1 8
testAddSort()
S
64 1 9
testInitSession()
S
68 1 6
testRegisterClick()
S
68 1 6
testRegisterCheckout()
S
68 1 6
testRegisterBannerDisplay()
S
69 1 6
testRegisterBannerClick()
S
69 1 6
testRegisterRedirection()
S
68 1 6